import React, { Component } from 'react'
import { Text, View} from 'react-native'
import { WebView } from 'react-native-webview';

interface Props {
  
}
interface State {
 id:Number
}
export default class Detail extends Component {
    state = {
        num:0
      }

    render() {
        return (
            <WebView
            source={{uri: `https://m.lagou.com/jobs/${this.props.id}.html`}}
          />
        )
    }
}
